package com.ajavaer.framework.orm.po;

import com.fasterxml.jackson.annotation.JsonTypeName;

import javax.persistence.Entity;
import javax.persistence.Table;

@JsonTypeName(value = "UserFront")
@Entity
@Table(name = "ajavaer_user_front")
public class UserFront extends User {

    private String nickname;
    private Integer age;

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
